
package org.springblade.modules.videoanswer.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.mp.base.BaseEntity;

/**
 * 公众号粉丝表实体类
 *
 * @author jiangyandong
 * @since 2021-03-19
 */
@Data
@TableName("rrm_fans")
@ApiModel(value = "Fans对象", description = "公众号粉丝表")
public class Fans extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String name;
    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称")
    private String nickname;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phone;
    /**
     * 公众号用户标识
     */
    @ApiModelProperty(value = "公众号用户标识")
    private String openId;
    /**
     * 省
     */
    @ApiModelProperty(value = "省")
    private String province;
    /**
     * 市
     */
    @ApiModelProperty(value = "市")
    private String district;
    /**
     * 县
     */
    @ApiModelProperty(value = "县")
    private String county;
    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址")
    private String address;
    /**
     * 所在群组id
     */
    @ApiModelProperty(value = "所在群组id")
    private Integer groupId;
    /**
     * 是否允许答题领红包0不允许1允许
     */
    @ApiModelProperty(value = "是否允许答题领红包0不允许1允许")
    private Integer permitAnswer;


}
